﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:GameLogic.Tests"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:GameLogic_Controls="clr-namespace:GameLogic.Controls;assembly=GameLogic"
    mc:Ignorable="d">

    <Style
        TargetType="local:Playground">
        <Setter
            Property="Template">
            <Setter.Value>
                <ControlTemplate
                    TargetType="local:Playground">
                    <Border
                        Background="{TemplateBinding Background}"
                        BorderBrush="{TemplateBinding BorderBrush}"
                        BorderThickness="{TemplateBinding BorderThickness}"
                        d:DesignWidth="253"
                        d:DesignHeight="367"
                        Width="Auto"
                        Height="Auto">
                        <Grid>
                            <StackPanel
                                Margin="0" >
                            	<TextBlock
                            		TextWrapping="Wrap"
                            		Text="TextBlock" 
                            		Foreground="White" />
                            	<GameLogic_Controls:TimerControl Foreground="#FF9B0095"/>
                            	<GameLogic_Controls:LifeControl Foreground="Red"/>
                            	<GameLogic_Controls:ScoreControl/>
                            	<GameLogic_Controls:HighscoreControl Height="100" Background="#FFF3F3F3" Foreground="#FFCA0000"/>
                            </StackPanel>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
